import React from 'react'
import { route } from './route'
import { BrowserRouter,useRoutes } from 'react-router-dom'
function App() {
  let El = ()=>useRoutes(route)
  return (
    <div>
      <BrowserRouter>
      <El/>
      </BrowserRouter>
    </div>
  )
}

export default App
